package com.tool_stdy.classLoader;

import com.google.common.collect.Maps;

import java.util.Map;

/**
 * Created by yan_li on 2016/11/20.
 */
public class Test {
    int i = 0;

    public static void main(String[] args) {
        Test t = new Test();
        t.Aaa(1,1d);
    }

    public void testClassLoad() {
        ClassLoader c = Test.class.getClassLoader();
        while (c != null) {
            System.out.println(c);
            c = c.getParent();
        }
    }

    public void Aaa(int i,double d) {
        i++;
        System.out.println(i + "=====");
        Aaa(i,d);
        Map<String,String> parames = Maps.newHashMap();
        parames.put("D","d");
    }
}
